<?php if (!defined('THINK_PATH')) exit();?>		
	</div><!-- /.main-container -->

		<!-- basic scripts -->

		<!--[if !IE]> -->

		<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
		<!-- <![endif]-->

		<!--[if IE]>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<![endif]-->
		<!--[if !IE]> -->
		<script type="text/javascript">
			window.jQuery || document.write("<script src='/Public/Template/AsSets/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
		</script>
		<!-- <![endif]-->
		<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='/Public/Template/AsSets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->
		<script type="text/javascript">
			if("ontouchend" in document) document.write("<script src='/Public/Template/AsSets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>
		<script src="/Public/Template/AsSets/js/bootstrap.min.js"></script>
		<script src="/Public/Template/AsSets/js/typeahead-bs2.min.js"></script>
		<!-- page specific plugin scripts -->

		<script src="/Public/Template/AsSets/js/jquery.colorbox-min.js"></script>
		<!--[if lte IE 8]>
		  <script src="/Public/Template/AsSets/js/excanvas.min.js"></script>
		<![endif]-->
		<script src="/Public/Template/AsSets/js/jquery-ui-1.10.3.custom.min.js"></script>
		<script src="/Public/Template/AsSets/js/jquery.ui.touch-punch.min.js"></script>
		<script src="/Public/Template/AsSets/js/jquery.slimscroll.min.js"></script>
		<script src="/Public/Template/AsSets/js/jquery.easy-pie-chart.min.js"></script>
		<script src="/Public/Template/AsSets/js/jquery.sparkline.min.js"></script>
		<script src="/Public/Template/AsSets/js/flot/jquery.flot.min.js"></script>
		<script src="/Public/Template/AsSets/js/flot/jquery.flot.pie.min.js"></script>
		<script src="/Public/Template/AsSets/js/flot/jquery.flot.resize.min.js"></script>
		<!-- ace scripts -->
		<script src="/Public/Template/AsSets/js/ace-elements.min.js"></script>
		<script src="/Public/Template/AsSets/js/ace.min.js"></script>

		<!-- inline scripts related to this page -->

		<script type="text/javascript">
			jQuery(function($) {
				var colorbox_params = {
					reposition:true,
					scalePhotos:true,
					scrolling:false,
					previous:'<i class="icon-arrow-left"></i>',
					next:'<i class="icon-arrow-right"></i>',
					close:'&times;',
					current:'{current} of {total}',
					maxWidth:'100%',
					maxHeight:'100%',
					onOpen:function(){
						document.body.style.overflow = 'hidden';
					},
					onClosed:function(){
						document.body.style.overflow = 'auto';
					},
					onComplete:function(){
						$.colorbox.resize();
					}
				};

				$('.ace-thumbnails [data-rel="colorbox"]').colorbox(colorbox_params);
				$("#cboxLoadingGraphic").append("<i class='icon-spinner orange'></i>");//let's add a custom loading icon

				/**$(window).on('resize.colorbox', function() {
					try {
						//this function has been changed in recent versions of colorbox, so it won't work
						$.fn.colorbox.load();//to redraw the current frame
					} catch(e){}
				});*/
			})
					</script>
	</body>
</html>